class Nstr(str):
    def __sub__(self,other):
        while self.find(other) != -1:
            self=self.partition(other)[0]+self.partition(other)[2]
        return self

a = Nstr('I love FishC.com!iiiiiiii')
b = Nstr('i')
print(a - b)
